package com.ssy.lingxi.contract.model.vo.common.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 分页查询合同采购物料接口参数VO
 * @author 伍将
 * @date 2021/2/8
 * @version 2.0.0
 */
public class PurchaseMaterielPageVO extends PageVO implements Serializable {
    private static final long serialVersionUID = 4207030647584722882L;

    /**
     * 合同id
     */
    @NotNull(message = "合同id需大于0")
    @Positive(message = "合同id需大于0")
    private Long contractId;

    /**
     * 物料编号
     */
    private String materielNo;
    /**
     * 物料编号(模糊查询)
     */
    private String code;

    /**
     * 物料名称
     */
    private String materielName;

    /**
     * 规格型号
     */
    private String type;
    /**
     * 商城id
     */
    private Long shopId;

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getMaterielNo() {
        return materielNo;
    }

    public void setMaterielNo(String materielNo) {
        this.materielNo = materielNo;
    }

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
}
